public class Test implements Cloneable{
    int age;
    String name;
    int tz;
    public Test(int age ,String name,int tz){
        this.age=age;
        this.tz=tz;
        this.name=name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTz() {
        return tz;
    }

    public void setTz(int tz) {
        this.tz = tz;
    }


    public static void main(String[] args) throws CloneNotSupportedException {
        Test s1=new Test(18,"n",52);
        Test s2= (Test) s1.clone();
    }
}
